Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Graphics /
Chapter 2 - Geometric Shapes / Geometric Shapes Reference
Functions / Drawing Geometric Shapes


GXDrawPoint

You can use the GXDrawPoint function to draw a point without creating a point shape.

void GXDrawPoint(const gxPoint *data);
data
A pointer to the point geometry you want to draw.
DESCRIPTION
The GXDrawPoint function draws the point geometry specified by the data parameter, using the shape fill, style, ink, and transform of the default point shape.

ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
parameter_is_nil(debugging version)
SEE ALSO
For examples using this function, see "Creating and Drawing Points" beginning on page 2-29.

For more information about points and the default point shape, see "Point Shapes" on page 2-16.

For the definition of the gxPoint structure, see page 2-104.

For more information about drawing shapes, see the description of the GXDrawShape function in the chapter "Shape Objects" in Inside Macintosh: QuickDraw GX Objects.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help